package com.github.hwangrq.myrpc.consumer.client;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author hwangrq
 */
@Configuration
@ConfigurationProperties(prefix = "rpc-client")
@Data
public class RpcClientConfig {
    private String ip;
    private int port;
}
